package com.example.entity;

import java.util.Date;

public class TbStu {

	private int _id;
	private String sname;
	private int sage;
	private String ssex;
	private String shobby;
	private String simage;
	private Date sintime;
	
	//每个学生对应一个班级
	private TbClass cls;
	

	public TbStu() {
		super();
	}
	public TbStu(int _id, String sname, int sage, String ssex, String shobby, String simage, Date sintime) {
		super();
		this._id = _id;
		this.sname = sname;
		this.sage = sage;
		this.ssex = ssex;
		this.shobby = shobby;
		this.simage = simage;
		this.sintime = sintime;
	}
	public int get_id() {
		return _id;
	}
	public void set_id(int _id) {
		this._id = _id;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public int getSage() {
		return sage;
	}
	public void setSage(int sage) {
		this.sage = sage;
	}
	public String getSsex() {
		return ssex;
	}
	public void setSsex(String ssex) {
		this.ssex = ssex;
	}
	public String getShobby() {
		return shobby;
	}
	public void setShobby(String shobby) {
		this.shobby = shobby;
	}
	public String getSimage() {
		return simage;
	}
	public void setSimage(String simage) {
		this.simage = simage;
	}
	public Date getSintime() {
		return sintime;
	}
	public void setSintime(Date sintime) {
		this.sintime = sintime;
	}
	public TbClass getCls() {
		return cls;
	}
	public void setCls(TbClass cls) {
		this.cls = cls;
	}
	
	
}
